﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace SharedGenomics.Workbench.Core
{
    public class Task<T> : TaskBase where T : IPresenter
    {
        public Task(string name, string displayName, PresenterFactory presenterFactory)
            : base(name, displayName, presenterFactory)
        {
        }

        public override IPresenter CurrentPresenter
        {
            get { return this.CreatePresenter(typeof(T)); }
        }
    }
}
